import type { ApiResponse, PageResult } from '@/types/common.type'

export interface RoleInfo {
  id: number
  roleName: string
  roleCode: string
  description?: string
  status: number
  createTime?: string
  updateTime?: string
  permissionIds?: number[]
}

export interface RoleQuery {
  roleName?: string
  roleCode?: string
  status?: number
  current: number
  size: number
}

export type RolePageResult = PageResult<RoleInfo> 